import sys


app_env = "release"

for i in sys.argv:
    if i.endswith(".exe"):
        app_env = "release"
        break
    if i.startswith("--env"):
        app_env = i.split("=")[1]
        break
